part of 'comment_bloc.dart';

sealed class CommentState extends Equatable {
  const CommentState();
  
  @override
  List<Object> get props => [];
}

final class CommentInitial extends CommentState {}

final class CommentsUninitialized extends CommentState {}

final class CommentsLoading extends CommentState {}

class CommentsLoaded extends CommentState {
  final List<Comment> comments;
  const CommentsLoaded({
    required this.comments,
  });
  @override
  List<Object> get props => [comments];
}

class CommentError extends CommentState {
  final Object error;

  const CommentError({
    required this.error,
  });

  @override
  List<Object> get props => [error];
}